Skip to content

Added new command engines list-api which returns list of engine APIs : (AST-93817)#1122

Closed
cx-sumit-morchhale wants to merge 1 commit into
mainfrom
other/sumitmorchhale7898/engines-assignment-api
Closed

Added new command engines list-api which returns list of engine APIs : (AST-93817)#1122
cx-sumit-morchhale wants to merge 1 commit into
mainfrom
other/sumitmorchhale7898/engines-assignment-api

Conversation

@cx-sumit-morchhale
Copy link
Copy Markdown
Contributor

Added functionality of below command to get the details checkmarx one engine APIs details
Command - engines list-api --engine-name sast --output-format (json/table/yaml)

Test Cases

Execute command –
engines list-api
Expected Output – It will get list of all engine apis and display in default format (in Tabular format)

engines list-api --engine-name sast
Expected Output – It will get list of sast engine apis and display in default format (in Tabular format)

engines list-api --engine-name sca
Expected Output – It will get list of sca engine apis and display in default format (in Tabular format)

engines list-api --engine-name sast --output-format json
Expected Output – It will get list of sast engine apis and display in default format (in json format)

engines list-api --engine-name sca --output-format json
Expected Output – It will get list of sca engine apis and display in default format (in json format)

engines list-api --output-format json
Expected Output – It will get list of all engine apis and display in default format (in json format)

engines list-api --output-format xyz
Expected Output – Will get error Invalid Output format

@github-actions
Copy link
Copy Markdown

Logo
Checkmarx One – Scan Summary & Detailsc5a62535-e396-486f-b590-59e61cd81640

Great job, no security vulnerabilities found in this Pull Request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants